package com.um.jdy.platform.activity.manager;

import com.um.jdy.common.activity.service.CouponsStationService;
import com.um.jdy.platform.station.entity.vo.StationItemVO;
import com.um.springboot.starter.orm.manager.BaseManager;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 管理类：加盟申请表
 */
@Component
public class CouponsStationManager extends BaseManager<CouponsStationService> {

    public List<StationItemVO> getCouponsStations(String couponsId) {
        List<StationItemVO> list = service.getViewModelList("get_coupons_station_list", StationItemVO.class, new Object[]{couponsId,getComId()});
        return list;
    }
}
